package prac6;
/**
 * Generic iterable interface 
 * 
 * @author          Maria Garcia de la Banda
 * @param           <T> type of element the iterator will iterate over
 * @since           July 2011
 * @knownBugs       none
 */

interface MyIterable<T> {
    /**
     * Retunrs a new iterator for the class.
     * 
     * @return      a new iterator.
     */
    Iterator<T> iterator();

}

